package cn.zwx.infra.svc;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangwenxye
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "cn.zwx")
@EnableFeignClients(basePackages = "cn.zwx")
@EnableTransactionManagement
@MapperScan("cn.zwx.infra.svc.mapper")
public class InfraSvcApplication {

    public static final Logger logger = LoggerFactory.getLogger(InfraSvcApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(InfraSvcApplication.class, args);
        logger.info("InfraSvcApplication 启动成功 !!");
    }



}

